- content_for(:title) do
  | 编辑项目

.project-edit ng-controller="ProjectEditController" ng-init="init(#{@project.id})"
  .row
    .small-12.columns
      .tips
        p 你需要继续完善你的项目, 然后发布你的融资需求
        ul
          li 请尽可能多的完善产品截图, 及运营数据
          li 
            | 然后你可以发布 
            br
            = link_to '融资需求', admin_money_requires_path(project_id: @project.id)
            br
            = link_to '商业方案', plan_edit_projects_path(project_id: @project.id)
            br
            = link_to '运营信息', calendar_edit_projects_path(project_id: @project.id)
    .small-12.columns
      .row
        h3 #{@project.name}
      .description
        form#uptalk enctype='multipart/form-data'
          .row
            .title 商业方案
            .small-12.columns ng-controller="ProjectPlanController" ng-init='init(#{@project.id},0)'
              input name='plans_id' type='hidden' value='#{@plans.id}'
              textarea#talk_input project_id='#{@project.id}' name='message' rows='3' placeholder='项目的商业方案...' #{@plans.message}
              .control-actions
                button#upbutton 发布
                .simple_captcha_refresh_button
                  #{ simple_captcha_options[:refresh_button] }
                .simple_captcha_image#simple_captcha_image
                  #{ simple_captcha_options[:image] }
                .simple_captcha_field
                  #{ simple_captcha_options[:field] }
                .simple_update_field
                  input id='screenshot' type='file' ng-file-select='upload_screenshot($files)'
                  small.error.ng-cloak ng-show=' screenshot_error ' {{ screenshot_error}}
